package com.andybest.search.timer;

import java.util.ArrayList;
import java.util.List;

import com.andybest.search.dto.TaskInfo;

public class TaskListManager {
    
    private  static TaskListManager taskListManager;
    
    private static List<TaskInfo> taskList = new ArrayList<TaskInfo>();
    
    private TaskListManager(){
        
    }
    
    public static TaskListManager getInstance(){
        if(taskListManager ==null){
            taskListManager = new TaskListManager();
        }
        return taskListManager;
    }

    public static List<TaskInfo> getTaskList() {
        return taskList;
    }

    
}
